{include file=$header_start}
{strip}
<script src="{$siteroot}/includes/js/admin/editprofile.js" type="text/javascript"></script>
{/strip}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Edit Profile</div>
         <div class="whitebox">
         <!--Message Div Start-->
         {if $msg}
         <div class="masg_div">
         {$msg}
         </div>
         {/if}
         <!--Message Div End-->
         
         <form name="frmeditprofile" id="frmeditprofile" action="" method="post" enctype="multipart/form-data">
         
         <div>
          <!--Form Contain start-->
           <div class="form_fieldbox">
           	
            <dl>
              <dt>&nbsp;</dt>
              <dd>{if $adminArray.user_avatar neq ''}<img src="{$siteroot}/uploads/user/{$adminArray.user_avatar}" width="72" height="72"/>{else}<img src="{$siteroot}/templates/admin/img/user.png"/>{/if}</dd>
              <div class="clear"></div>
             </dl>
             
            <dl>
              <dt>Profile Image</dt>
              <dd><input type="file" name="user_avatar" id="user_avatar" class="input" /></dd>
              <div class="clear"></div>
             </dl>
             
             <dl>
               ({$profileimage_dimension})
            </dl>
            
             <dl>
              <dt>First Name:<span class="error">*</span></dt>
              <dd><input type="text" class="input" name="first_name" id="first_name" maxlength="50" value="{$adminArray.first_name}"/></dd>
              <div class="clear"></div>
             </dl>
                      	
            <dl>
              <dt>Last Name:<span class="error">*</span></dt>
              <dd><input type="text" class="input" name="last_name" id="last_name" maxlength="50" value="{$adminArray.last_name}"/></dd>
              <div class="clear"></div>
            </dl>
             
            <dl>
              <dt>Username:</dt>
              <dd><input type="text" class="input" name="username" id="username" readonly="readonly" value="{$adminArray.username}"/></dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
            <dt>&nbsp;</dt>
             <dd>
            <a href="{$siteroot}/admin/home.php?q=changeusername">Click here to change Username</a>
            </dd>
            </dl>
            
            <dl>
              <dt>Email Address:</dt>
              <dd><input type="text" class="input" name="email" id="email" readonly="readonly" value="{$adminArray.email}"/></dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
            <dt>&nbsp;</dt>
             <dd>
            <a href="{$siteroot}/admin/home.php?q=changeemail">Click here to change Email Address</a>
            </dd>
            </dl>
            
              <dt>&nbsp;</dt>
              <div class="clear"></div>
             </dl>
            </div>
            
            <!--Form Contain end--> 
          
           <!--Button here start-->
           <div>
            <span><input type="submit" class="admin_btn" value="Submit" name="editprofile_btn" id="editprofile_btn" /></span>
            <span><input type="button" class="admin_btn" value="Cancel" onclick="javascript:return history.go(-1);"/></span>
           </div>
            <!--Button here end-->
  
         </div>
         </form>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}